<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Stream Errors</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="stream.contexts.html">« Stream Contexts</a></li>
      <li style="float: right;"><a href="stream.examples.html">范例 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.stream.html">Stream</a></li>
    <li>Stream Errors</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="stream.errors" class="chapter">
 <h1>Stream Errors</h1>

 <p class="para">
  As with any file or socket related function, an operation on a stream
  may fail for a variety of normal reasons (i.e.: Unable to connect to remote
  host, file not found, etc...).  A stream related call may also fail because
  the desired stream is not registered on the running system.  See the array returned
  by <span class="function"><a href="function.stream-get-wrappers.html" class="function">stream_get_wrappers()</a></span> for a list of streams supported by your
  installation of PHP.  As with most PHP internal functions
  if a failure occurs an <strong><code>E_WARNING</code></strong> message will be generated
  describing the nature of the error.
 </p>
</div>
</div></div></body></html>